//
// Created by 78472 on 2022/5/18.
//

#ifndef EXHIBITION_PARAM_H
#define EXHIBITION_PARAM_H
#include <string>
using namespace std;

static const string RequestIp = "127.0.0.1";
//static const string RequestIp = "192.168.58.106";

static const string BleSiteID = "ble_light";
static const string BleSiteName = "BLE灯控";
static const int BleSitePort = 9001;

static const string ZigbeeSiteID = "zigbee_light";
static const string ZigbeeSiteName = "ZigBee灯控";
static const int ZigbeeSitePort = 9002;

static const string BtDeviceSiteID = "bt_device";
static const string BtDeviceSiteName = "蓝牙设备";
static const int BtDeviceSitePort = 9014;

static const string TvAdapterSiteID = "tv_adapter";
static const string TvAdapterSiteName = "智汇家adapter";
static const int TvAdapterSitePort = 9008;

static const string SynergySiteID = "collaborate";
static const string SynergySiteName = "协同服务";
static const int SynergySitePort = 9007;

static const string SceneSiteID = "scene";
static const string SceneSiteName = "场景";
static const int SceneSitePort = 9011;

static const string QuerySiteID = "site_query";
static const string QuerySiteName = "服务站点查询";
static const int QuerySitePort = 9000;

static const string HongmeiDevSiteID = "hongmei_dev";
static const string HongmeiDevSiteName = "虹美设备管理";
static const int HongmeiDevSitePort = 9021;

static const string Site_irc_SiteID = "site_irc";
static const string Site_irc_Name = "红外站点";
static const int Site_irc_Port = 9025;

static const int ESP32_HTTP_SERVER_PORT = 9999;


//服务ID
static const string Scene_Service_ID                = "scene_control";
static const string Control_Service_ID              = "cloudCommand";
static const string VoiceControl_Service_ID         = "voiceControl";
static const string BleGroupRegister_Service_ID     = "register_bleGroup";
static const string BleDeviceOperation_Service_ID   = "bleDeviceOperation";
static const string UpdateDeviceList_Service_ID     = "updateDeviceList";
static const string UpdateGroupList_Service_ID      = "updateGroupList";
static const string GetPanelList_Service_ID         = "get_panelList";        //获取面板列表
static const string GetDevSiteList_Service_ID       = "get_devSites_list";    //获取设备类站点列表
static const string GetAllDevInfo_Service_ID        = "getAllDevInfo";        //获取设备信息

//服务ID
static const string Reset_Device_Service_ID               = "reset_device";                      //重置网关
static const string Scan_Device_Service_ID                = "scan_device";                       //扫描设备结果
static const string Add_Device_Service_ID                 = "add_device";                        //添加设备
static const string AddZigbee_Device_Service_ID           = "allow_device_join";                 //添加zigbee设备
static const string Del_Device_Service_ID                 = "del_device";                        //删除设备
static const string Del_Device_Force_Service_ID           = "del_device_force";                  //强制删除设备
static const string ConfigProperty_Service_ID             = "config_name_location";              //修改设备属性信息
static const string Control_Device_Service_ID             = "control_device";                    //控制设备
static const string Control_Device_Query_Service_ID       = "control_device_query";             //设备查询
static const string Get_DeviceList_Service_ID             = "get_device_list";                   //获取设备列表
static const string Get_DeviceState_Service_ID            = "get_device_state";                  //获取设备状态
static const string Get_DeviceState_All_Service_ID        = "get_device_state_all";              //获取所有设备状态

//组服务ID
static const string CreateGroup_Device_Service_ID               = "create_group";                   //创建分组
static const string DeleteGroup_Device_Service_ID               = "delete_group";                   //删除分组
static const string RenameGroup_Device_Service_ID               = "rename_group";                   //重命名分组
static const string AddDevice2Group_Device_Service_ID           = "add_device_to_group";            //添加设备进分组
static const string RemoveDeviceFromGroup_Device_Service_ID     = "remove_device_from_group";       //从分组删除设备
static const string ControlGroup_Device_Service_ID              = "control_group";                  //控制分组
static const string GetGroupList_Device_Service_ID              = "get_group_list";                 //获取分组列表
static const string InsertEsp32PanelInfo_Service_ID             = "insert_esp32Panel";              //插入esp32面板信息

// 新加服务
static const string MessagePublish_Service_ID                   = "messagePublish";                 //消息发布服务


//夜灯服务ID
static const string StirpConfig_Service_ID        = "stripConfig";         //灯带配置
static const string StripCyclic_Service_ID        = "cyclicLight";         //灯带循环
static const string StripPointControl_Service_ID  = "stripPointControl";   //亮灯点控制
static const string SaveStrip_Service_ID          = "saveStrip";           //保存灯带
static const string DelStrip_Service_ID           = "delStrip";            //删除灯带
static const string GetStripList_Service_ID       = "getStripList";        //获取灯带列表


//订阅消息ID
static const string Site_OnOffLine_MessageID        =   "site_onoffline";
//订阅雷达
static const string Radar_Msg_MessageID             =   "reportTracingTargets";
//主从站点
static const string Site_List_Update_MessageID      =   "app_site_list_update";
static const string AllUpdate_MessageID             =   "all_update";
//mqtt站点
static const string ReportLog_MessageID             =   "report_log";
//订阅配置站点消息
static const string WhiteListChange_MessageID       =   "whiteList";
// 订阅bt_device站点
static const string KeyValue_MessageID              =   "key_value";

//订阅蓝牙站点的消息
static const string ScanResultMsg                   =   "scanResultMsg";                     //扫描结果消息
static const string SingleDeviceBindSuccessMsg      =   "singleDeviceBindSuccessMsg";        //单个设备绑定成功
static const string SingleDeviceUnbindSuccessMsg    =   "singleDeviceUnbindSuccessMsg";      //单个设备解绑成功
static const string BindEndMsg                      =   "bindEndMsg";                        //绑定结束
static const string Device_State_Changed            =   "device_state_changed";              //设备状态改变
static const string DeviceListChanged               =   "deviceList_changed";                //设备列表变更
//订阅的zigbee站点消息
static const string DeviceOnOffLineMsg              =   "device_on_off_line";                //设备上下线
static const string TriggerSceneMsg                 =   "trigger_scene";                     //场景触发
static const string Device_State_Notify             =   "device_state_notify";               //设备状态通知
static const string Device_Online_Notify            =   "device_online_notify";              //设备上下线通知
//订阅红外站点消息
static const string Key_bind_success_messageID      =   "singleDeviceKeyBindSuccessMsg";    //红外设备按键绑定成功


//发布消息ID
static const string Scene_Msg_MessageID             =   "sceneMsg";
static const string DeviceGroupList_Update_Message  =   "deviceGroupListUpdateMsg";
static const string DeviceGroupPanel_Update_Message =   "deviceGroupPanelUpdateMsg";
static const string Mms_messageID                   =   "play_mms";
static const string ReportTTS_messageID             =   "reportTTS"; 


#endif //EXHIBITION_PARAM_H
